Preventing Blackouts